using System;
using System.Collections.Generic;

namespace FPISystem.API
{
    [Serializable]
    public class MinutiaeCollection
    {
        private List<MinutiaeModle> minuList;

        //internal List<MinutiaeModle> MinuList
        //{
        //    get { return minuList; }
        //    set { minuList = value; }
        //}

        public MinutiaeCollection(int iniCount)
        {
            minuList = new List<MinutiaeModle>(iniCount);
        }

        public int Count
        {
            get { return minuList.Count; }
        }

        public void Add(MinutiaeModle minutiae)
        {
            minuList.Add(minutiae);
        }

        public void Remove(MinutiaeModle minutiae)
        {
            minuList.Remove(minutiae);
        }

        public void RemoveAt(int index)
        {
            minuList.RemoveAt(index);
        }

        public MinutiaeModle this[int index]
        {
            get
            {
                return minuList[index];
            }
            set
            {
                minuList[index] = value;
            }
        }
    }
}
